package com.twu.biblioteca.providers;

import com.twu.biblioteca.models.Book;
import com.twu.biblioteca.interfaces.IBookProvider;

/**
 * Created with IntelliJ IDEA.
 * User: mmoise
 * Date: 14/05/2013
 * Time: 14:10
 * To change this template use File | Settings | File Templates.
 */
public class BookProvider implements IBookProvider {

    public Book[] getAllBooksInTheLibrary(){
        Book book1 = new Book("XP explained","Kent Beck","100");
        Book book2 = new Book("GOOS","Steve Freeman","101");
        Book book3 = new Book("Continuous Delivery","Jez Humble","102");
        Book book4 = new Book("Agile Testing","Lisa Crispin","103");

        Book[] books = {book1,book2,book3,book4};
        return books;
    }
}
